include(${SerenityOS_SOURCE_DIR}/Meta/CMake/unicode_data.cmake)

SET(SOURCES
    ${UNICODE_DATA_SOURCES}
    CharacterTypes.cpp
    Locale.cpp
)

serenity_lib(LibUnicode unicode)
target_link_libraries(LibUnicode LibCore)
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
